home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
polygons.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
1KB
|
30 lines
(User.programs)
Item: 247 by _bmenees at hpcvbbs.UUCP
Author: [bill menees]
Keyw: generating regular polygons
Date: Tue Mar 12 1991
LINPLY takes a number and generates that sided polygon. Then it draws lines
from all vertices to all others.
POLYGONS draws the simple edges of an n-sided polygon. You give it a number.
RNDLIN is stupid and just draws random lines! But it does have sound if you
want.
SHOPICS animates the grobs made by GENPICS.
GENPICS stores multiple grobs in PICS and saves it in a variable for shopics.
The pictures take lots of memory if you animate very far.
SHOSTP is a real num used as a step value by GEMPICS.
N1 is the beginning poly size; N2 is the final poly size. If N1 is 7 and N2 is
8 and SHOSTP is .25 grobs will be generated and stored for foDD five
polygons: 7.7.25,7.50,7.75,8.
Press SHOPICS to animate these.
GENPICS must be done first before SHOPICS to generate the images as I didn't
want to make the file large.